<section class="app-mobile-head <%= normal_head? ? '' : 'other-case' %>">
  <div class="left">
    <% if content_for? :app_back %>
        <%= yield :app_back %>
    <% else %>
        <a class="icon-logo-link" href="<%= root_path %>">
            <i class="icon-suntek-m"></i>
        </a>
    <% end %>
  </div>

  <div class="center">
    <% if content_for? :app_title %>
        <h1 class="text-center">
            <%= yield :app_title %>
        </h1>
    <% else %>
       <autocomplete-input :options="options" @select="onOptionSelect">
          <template slot="item" scope="option">
              <article class="media">
                {{ option.title }}
              </article>
          </template>
      </autocomplete-input>
    <% end %>
  </div>

  <div class="right"></div>


<!--     <div class="left text-left">
    <% if content_for? :app_back %>
        <%= yield :app_back %>
    <% else %>
        <a class="icon-logo-link" href="<%= root_path %>">
            <i class="icon-suntek-m"></i>
        </a>
    <% end %>
</div>
<div class="center <%= controller_name == 'home' && action_name == 'index' ? '' : 'not-home'  %>">
    <% if content_for? :app_title %>
        <h1 class="text-center">
            <%= yield :app_title %>
        </h1>
    <% else %>
       <autocomplete-input :options="options" @select="onOptionSelect">
          <template slot="item" scope="option">
              <article class="media">
                {{ option.title }}
              </article>
          </template>
      </autocomplete-input>
    <% end %>
</div>

<div class="right">
    <% if content_for? :app_action %>
        <%= yield :app_action %>
    <% else %>
        <i class="icon-customer-m" id="contact-mask"></i>
        <img id="contact-mask" src="<%= image_path('mobile/zhixun.png') %>">
        <div class="contact-mask hide" id="contact-mask-panel">
            <a href="tel:13564452643" class="phone">
              <img src="<%= image_path('mobile/tel.png') %>" alt="">
              <span>拨打服务热线</span>
            </a>
            <a class="zixun">
              <img src="<%= image_path('mobile/zixun.png') %>" alt="" onclick="Detector.floatclick();return false;">
              <span>现在咨询</span>
            </a>
        </div>
    <% end %>
</div> -->
</section>
